package com.ilearn.strategy.payport;

import com.ilearn.strategy.payport.payment.*;

/**
 * 支付渠道接口
 */
public interface PayMent {


    // 每次增加一个支付渠道，我们就要维护这个接口一次，太麻烦，不可取
    /*public static final PayMent ALI_PAY = new AliPay();
    public static final PayMent WEICHAT_PAY = new WechatPay();
    public static final PayMent JD_PAY = new JDPay();
    public static final PayMent TEN_PAY = new TenPay();
    public static final PayMent UNION_PAY = new UnionPay();*/




    public PayState pay(String uid, double amount);

}
